package com.jerry.common.bean;

import com.jerry.common.ResponseBean;

public class Product extends ResponseBean {
	
	private long id;
	private String name;
	private int quantity;
	private double price;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}

	@Override
	public String toString() {
		return "Product{" +
				"id=" + id +
				", name='" + name + '\'' +
				", quantity=" + quantity +
				", price=" + price +
				", host='" + host + '\'' +
				", port=" + port +
				", serverId='" + serverId + '\'' +
				'}';
	}
}
